#pragma once

#include <QtWidgets/QDialog>
#include <QPushButton>
#include <QGridLayout>
#include <QColorDialog>

#include "ui_kcolordialog.h"

class KColorDialog : public QDialog
{
    Q_OBJECT

public:
    KColorDialog(QWidget *parent = nullptr);
    ~KColorDialog();
    void init();

private slots:
    void showColor();

private:
    Ui::KColorDialogClass ui;

	QPushButton* colorBtn;
	QFrame* colorFrame;
    QGridLayout *mainLayout;
};
